<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>搜索结果 - ${siteName}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/png" sizes="32x32" href="icon/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="icon/favicon-16x16.png">
    <link rel="stylesheet" href="admin/plugins/fontawesome-free/css/all.min.css">
    <link rel="stylesheet" href="css/ionicons/2.0.1/ionicons.min.css">
    <link rel="stylesheet" href="admin/plugins/datatables-bs4/css/dataTables.bootstrap4.css">
    <link rel="stylesheet" href="admin/css/adminlte.min.css">
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<body class="hold-transition layout-top-nav" style="background: #b3b3b3;">
<div class="wrapper">
    <#--  nav bar  -->
    <#include "./header.ftl">

    <div class="content-wrapper">
        <div class="row">
            <div class="col-lg-2" style="background: #b3b3b3;">

            </div>
            <div class="col-lg-8 col-sm-12" style="min-height: 800px;">
                <div class="content-header">
                    <div class="container-fluid">
                        <div class="row mb-2">
                            <div class="col-sm-6">
                                <h1 class="m-0 text-dark">搜索结果</h1>
                            </div>
                        </div>
                    </div>
                </div>
                <section class="content">
                    <#list authorList as row>
                    <div class="card">
                        <div class="card-body p-2">
                            <a href="/author/${row[2]}" class="card-title mb-2"><u><i class="fa fa-user mr-2"></i>${row[0]}</u></a>
                            <p class="card-text">
                                ${row[1]}
                            </p>
                        </div>
                    </div>
                    </#list>

                    <#list articleList as row>
                    <div class="card">
                        <div class="card-body p-2">
                            <a href="/fiction/${row[4]}" class="card-title mb-2"><u><i class="fa fa-book mr-2"></i>${row[0]}</u></a>
                            <p class="card-text">
                                ${row[1]}
                            </p>
                        </div>
                    </div>
                    </#list>
                </section>
            </div>
            <div class="col-lg-2" style="background: #b3b3b3;">

            </div>
        </div>
    </div>
    <#include "./footer.ftl">
</div>

<script src="admin/plugins/jquery/jquery.min.js"></script>
<script src="admin/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="admin/plugins/datatables/jquery.dataTables.js"></script>
<script src="admin/plugins/datatables-bs4/js/dataTables.bootstrap4.js"></script>
<script src="admin/js/adminlte.min.js"></script>
<script src="utility.js"></script>
</body>
</html>
